package com.aidong.carnival.entity;

import java.util.Date;

public class Vote {
	private int carnivalId;
	private int votedId;
	private int voterId;
	private Date createdTime;

	public Vote() {

	}

	public Vote(int carnivalId, int votedId, int voterId) {
		this.carnivalId = carnivalId;
		this.votedId = votedId;
		this.voterId = voterId;
	}

	public int getCarnivalId() {
		return carnivalId;
	}

	public void setCarnivalId(int carnivalId) {
		this.carnivalId = carnivalId;
	}

	public int getVotedId() {
		return votedId;
	}

	public void setVotedId(int votedId) {
		this.votedId = votedId;
	}

	public int getVoterId() {
		return voterId;
	}

	public void setVoterId(int voterId) {
		this.voterId = voterId;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

}
